package study.javase.static_test;

/**
 *
 * static关键字测试
 * @author LiShaowen
 * @date 2020/9/11 14:07
 */
public class StaticTest {
    private String name;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    private static void test(){
        StaticTest staticTest = new StaticTest();
        staticTest.getAge();
    }

    public static void main(String[] args) {
        Integer i = 10000;
        Integer j = 10000;
        System.out.println(i==j);
    }
}
